package mrusanov.buildings

import mrusanov.terrain._

class Arena(buildings:ClubBuildings,var additionalTerrainTypes:List[TerrainType] = List(Grass, Forest, Hill))
  extends Building(buildings) {

  private val spectatorsPerLevel = 2000
  val miniArenasRequiredCount = 11
  val requiredTerrainTypes = TerrainType.all

  require(miniArenasTypes.size == miniArenasRequiredCount, "Incorrect number of miniarenas!")

  def miniArenasTypes = additionalTerrainTypes ::: requiredTerrainTypes

  def maxCapacity = usageLevel * spectatorsPerLevel
}
